<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>libnids</Name>
        <Homepage>http://libnids.sourceforge.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>library</IsA>
        <Summary>Network intrusion detection library</Summary>
        <Description>Libnids is an implementation of an E-component of Network Intrusion Detection System. It emulates the IP stack of Linux 2.0.x. Libnids offers IP defragmentation, TCP stream assembly and TCP port scan detection.</Description>
        <Archive sha1sum="9a421df05cefdc4f5f7db95efc001b3c2b5249ce" type="targz">https://sourceforge.net/projects/libnids/files/libnids/1.24/libnids-1.24.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libpcap-devel</Dependency>
            <Dependency>libnet-devel</Dependency>
            <Dependency>glib2-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">libnids-1.20-chksum.c-ebx.patch</Patch>
            <Patch>libnids-1.18-libnet_config.diff</Patch>
            <Patch level="1">asneeded.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>libnids</Name>
        <RuntimeDependencies>
            <Dependency>libpcap</Dependency>
            <Dependency>libnet</Dependency>
            <Dependency>glib2</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="doc">/usr/share/doc/libnids</Path>
        </Files>
    </Package>

    <Package>
        <Name>libnids-devel</Name>
        <Summary>Development files for libnids</Summary>
        <RuntimeDependencies>
            <Dependency release="current">libnids</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <History>
        <Update release="3">
            <Date>2016-02-25</Date>
            <Version>1.24</Version>
            <Comment>Rebuilt with docker</Comment>
            <Name>İbrahim KARAGÜZEL</Name>
            <Email>karaguzelibrahim@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2014-02-01</Date>
            <Version>1.24</Version>
            <Comment>Rebuild</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2010-10-13</Date>
            <Version>1.24</Version>
            <Comment>First release</Comment>
            <Name>Gökcen Eraslan</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
